package com.netposa.datawarehouse.component.entity;

public class BodyOriginal
{
    private String recordId;
    private long absTime;
    private long pushTime;
    private String deviceId;
    private String sourceType;
    private String traitImg;
    private String sceneImg;
    private long startTime;
    private long endTime;
    private double confidence;
    private long saveTime;
    private String task_type;
    private String info_source;
    private String collection_id;
    private String location;
    private String additional_info;
    private Integer source;
    
    public BodyOriginal() {
        this.saveTime = System.currentTimeMillis();
    }
    
    public String getRecordId() {
        return this.recordId;
    }
    
    public long getAbsTime() {
        return this.absTime;
    }
    
    public long getPushTime() {
        return this.pushTime;
    }
    
    public String getDeviceId() {
        return this.deviceId;
    }
    
    public String getSourceType() {
        return this.sourceType;
    }
    
    public String getTraitImg() {
        return this.traitImg;
    }
    
    public String getSceneImg() {
        return this.sceneImg;
    }
    
    public long getStartTime() {
        return this.startTime;
    }
    
    public long getEndTime() {
        return this.endTime;
    }
    
    public double getConfidence() {
        return this.confidence;
    }
    
    public long getSaveTime() {
        return this.saveTime;
    }
    
    public String getTask_type() {
        return this.task_type;
    }
    
    public String getInfo_source() {
        return this.info_source;
    }
    
    public String getCollection_id() {
        return this.collection_id;
    }
    
    public String getLocation() {
        return this.location;
    }
    
    public String getAdditional_info() {
        return this.additional_info;
    }
    
    public Integer getSource() {
        return this.source;
    }
    
    public void setRecordId(final String recordId) {
        this.recordId = recordId;
    }
    
    public void setAbsTime(final long absTime) {
        this.absTime = absTime;
    }
    
    public void setPushTime(final long pushTime) {
        this.pushTime = pushTime;
    }
    
    public void setDeviceId(final String deviceId) {
        this.deviceId = deviceId;
    }
    
    public void setSourceType(final String sourceType) {
        this.sourceType = sourceType;
    }
    
    public void setTraitImg(final String traitImg) {
        this.traitImg = traitImg;
    }
    
    public void setSceneImg(final String sceneImg) {
        this.sceneImg = sceneImg;
    }
    
    public void setStartTime(final long startTime) {
        this.startTime = startTime;
    }
    
    public void setEndTime(final long endTime) {
        this.endTime = endTime;
    }
    
    public void setConfidence(final double confidence) {
        this.confidence = confidence;
    }
    
    public void setSaveTime(final long saveTime) {
        this.saveTime = saveTime;
    }
    
    public void setTask_type(final String task_type) {
        this.task_type = task_type;
    }
    
    public void setInfo_source(final String info_source) {
        this.info_source = info_source;
    }
    
    public void setCollection_id(final String collection_id) {
        this.collection_id = collection_id;
    }
    
    public void setLocation(final String location) {
        this.location = location;
    }
    
    public void setAdditional_info(final String additional_info) {
        this.additional_info = additional_info;
    }
    
    public void setSource(final Integer source) {
        this.source = source;
    }
    
    @Override
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (!(o instanceof BodyOriginal)) {
            return false;
        }
        final BodyOriginal other = (BodyOriginal)o;
        if (!other.canEqual(this)) {
            return false;
        }
        final Object this$recordId = this.getRecordId();
        final Object other$recordId = other.getRecordId();
        Label_0065: {
            if (this$recordId == null) {
                if (other$recordId == null) {
                    break Label_0065;
                }
            }
            else if (this$recordId.equals(other$recordId)) {
                break Label_0065;
            }
            return false;
        }
        if (this.getAbsTime() != other.getAbsTime()) {
            return false;
        }
        if (this.getPushTime() != other.getPushTime()) {
            return false;
        }
        final Object this$deviceId = this.getDeviceId();
        final Object other$deviceId = other.getDeviceId();
        Label_0130: {
            if (this$deviceId == null) {
                if (other$deviceId == null) {
                    break Label_0130;
                }
            }
            else if (this$deviceId.equals(other$deviceId)) {
                break Label_0130;
            }
            return false;
        }
        final Object this$sourceType = this.getSourceType();
        final Object other$sourceType = other.getSourceType();
        Label_0167: {
            if (this$sourceType == null) {
                if (other$sourceType == null) {
                    break Label_0167;
                }
            }
            else if (this$sourceType.equals(other$sourceType)) {
                break Label_0167;
            }
            return false;
        }
        final Object this$traitImg = this.getTraitImg();
        final Object other$traitImg = other.getTraitImg();
        Label_0204: {
            if (this$traitImg == null) {
                if (other$traitImg == null) {
                    break Label_0204;
                }
            }
            else if (this$traitImg.equals(other$traitImg)) {
                break Label_0204;
            }
            return false;
        }
        final Object this$sceneImg = this.getSceneImg();
        final Object other$sceneImg = other.getSceneImg();
        Label_0241: {
            if (this$sceneImg == null) {
                if (other$sceneImg == null) {
                    break Label_0241;
                }
            }
            else if (this$sceneImg.equals(other$sceneImg)) {
                break Label_0241;
            }
            return false;
        }
        if (this.getStartTime() != other.getStartTime()) {
            return false;
        }
        if (this.getEndTime() != other.getEndTime()) {
            return false;
        }
        if (Double.compare(this.getConfidence(), other.getConfidence()) != 0) {
            return false;
        }
        if (this.getSaveTime() != other.getSaveTime()) {
            return false;
        }
        final Object this$task_type = this.getTask_type();
        final Object other$task_type = other.getTask_type();
        Label_0336: {
            if (this$task_type == null) {
                if (other$task_type == null) {
                    break Label_0336;
                }
            }
            else if (this$task_type.equals(other$task_type)) {
                break Label_0336;
            }
            return false;
        }
        final Object this$info_source = this.getInfo_source();
        final Object other$info_source = other.getInfo_source();
        Label_0373: {
            if (this$info_source == null) {
                if (other$info_source == null) {
                    break Label_0373;
                }
            }
            else if (this$info_source.equals(other$info_source)) {
                break Label_0373;
            }
            return false;
        }
        final Object this$collection_id = this.getCollection_id();
        final Object other$collection_id = other.getCollection_id();
        Label_0410: {
            if (this$collection_id == null) {
                if (other$collection_id == null) {
                    break Label_0410;
                }
            }
            else if (this$collection_id.equals(other$collection_id)) {
                break Label_0410;
            }
            return false;
        }
        final Object this$location = this.getLocation();
        final Object other$location = other.getLocation();
        Label_0447: {
            if (this$location == null) {
                if (other$location == null) {
                    break Label_0447;
                }
            }
            else if (this$location.equals(other$location)) {
                break Label_0447;
            }
            return false;
        }
        final Object this$additional_info = this.getAdditional_info();
        final Object other$additional_info = other.getAdditional_info();
        Label_0484: {
            if (this$additional_info == null) {
                if (other$additional_info == null) {
                    break Label_0484;
                }
            }
            else if (this$additional_info.equals(other$additional_info)) {
                break Label_0484;
            }
            return false;
        }
        final Object this$source = this.getSource();
        final Object other$source = other.getSource();
        if (this$source == null) {
            if (other$source == null) {
                return true;
            }
        }
        else if (this$source.equals(other$source)) {
            return true;
        }
        return false;
    }
    
    protected boolean canEqual(final Object other) {
        return other instanceof BodyOriginal;
    }
    
    @Override
    public int hashCode() {
        final int PRIME = 59;
        int result = 1;
        final Object $recordId = this.getRecordId();
        result = result * 59 + (($recordId == null) ? 43 : $recordId.hashCode());
        final long $absTime = this.getAbsTime();
        result = result * 59 + (int)($absTime >>> 32 ^ $absTime);
        final long $pushTime = this.getPushTime();
        result = result * 59 + (int)($pushTime >>> 32 ^ $pushTime);
        final Object $deviceId = this.getDeviceId();
        result = result * 59 + (($deviceId == null) ? 43 : $deviceId.hashCode());
        final Object $sourceType = this.getSourceType();
        result = result * 59 + (($sourceType == null) ? 43 : $sourceType.hashCode());
        final Object $traitImg = this.getTraitImg();
        result = result * 59 + (($traitImg == null) ? 43 : $traitImg.hashCode());
        final Object $sceneImg = this.getSceneImg();
        result = result * 59 + (($sceneImg == null) ? 43 : $sceneImg.hashCode());
        final long $startTime = this.getStartTime();
        result = result * 59 + (int)($startTime >>> 32 ^ $startTime);
        final long $endTime = this.getEndTime();
        result = result * 59 + (int)($endTime >>> 32 ^ $endTime);
        final long $confidence = Double.doubleToLongBits(this.getConfidence());
        result = result * 59 + (int)($confidence >>> 32 ^ $confidence);
        final long $saveTime = this.getSaveTime();
        result = result * 59 + (int)($saveTime >>> 32 ^ $saveTime);
        final Object $task_type = this.getTask_type();
        result = result * 59 + (($task_type == null) ? 43 : $task_type.hashCode());
        final Object $info_source = this.getInfo_source();
        result = result * 59 + (($info_source == null) ? 43 : $info_source.hashCode());
        final Object $collection_id = this.getCollection_id();
        result = result * 59 + (($collection_id == null) ? 43 : $collection_id.hashCode());
        final Object $location = this.getLocation();
        result = result * 59 + (($location == null) ? 43 : $location.hashCode());
        final Object $additional_info = this.getAdditional_info();
        result = result * 59 + (($additional_info == null) ? 43 : $additional_info.hashCode());
        final Object $source = this.getSource();
        result = result * 59 + (($source == null) ? 43 : $source.hashCode());
        return result;
    }
    
    @Override
    public String toString() {
        return "BodyOriginal(recordId=" + this.getRecordId() + ", absTime=" + this.getAbsTime() + ", pushTime=" + this.getPushTime() + ", deviceId=" + this.getDeviceId() + ", sourceType=" + this.getSourceType() + ", traitImg=" + this.getTraitImg() + ", sceneImg=" + this.getSceneImg() + ", startTime=" + this.getStartTime() + ", endTime=" + this.getEndTime() + ", confidence=" + this.getConfidence() + ", saveTime=" + this.getSaveTime() + ", task_type=" + this.getTask_type() + ", info_source=" + this.getInfo_source() + ", collection_id=" + this.getCollection_id() + ", location=" + this.getLocation() + ", additional_info=" + this.getAdditional_info() + ", source=" + this.getSource() + ")";
    }
}
